source_mariadb__apt(){
    mkdir -p /etc/apt/source.list.d/
    apt-get install software-properties-common dirmngr
    apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
    echo "deb [arch=amd64,arm64,ppc64el] https://mirrors.nju.edu.cn/mariadb/repo/${mariadb_version}/${System_Type} ${VERSION_CODENAME} main
deb-src https://mirrors.nju.edu.cn/mariadb/repo/${mariadb_version}/${System_Type} ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/maridab.list
}
source_mariadb__yum(){
    mkdir -p /etc/yum.repos.d/
echo -e "[mariadb]
name = MariaDB
baseurl = https://mirrors.cloud.tencent.com/mariadb/yum/${mariadb_version}/centos${System_version}-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1" >  /etc/yum.repos.d/MariaDB.repo
makecache "[ MariaDB${mariadb_version} ]源配置"
}